var dataSource=[
  {
	"f_Id": "0f8e664c-f8cb-46d4-9787-7b61da7ed166",
	"f_Code": "dataitem",
	"f_Name": "数据字典数据",
	"f_DbId": "saas",
	"f_Sql": "SELECT * FROM LR_Base_DataItemDetail WHERE F_DeleteMark = 0 AND F_EnabledMark = 1 order by F_DeleteMark desc",
	"f_Description": null,
	"f_CreateUserId": "System",
	"f_CreateUserName": "超级管理员",
	"f_CreateDate": "2020-04-09T16:06:21",
	"f_ModifyUserId": "System",
	"f_ModifyUserName": "超级管理员",
	"f_ModifyDate": "2022-07-01T15:02:09"
  },
  {
	"f_Id": "2765648b-fb54-449f-a1f7-20dca93e4d66",
	"f_Code": "dataitemc",
	"f_Name": "字典数据分类",
	"f_DbId": "saas",
	"f_Sql": "SELECT * FROM LR_Base_DataItem WHERE F_DeleteMark = 0 AND F_EnabledMark = 1",
	"f_Description": null,
	"f_CreateUserId": "System",
	"f_CreateUserName": "超级管理员",
	"f_CreateDate": "2020-04-09T16:05:57",
	"f_ModifyUserId": "System",
	"f_ModifyUserName": "超级管理员",
	"f_ModifyDate": "2022-07-01T15:02:16"
  },
  {
	"f_Id": "6e38ec91-260a-44af-a86f-36d31fbfe97e",
	"f_Code": "test3",
	"f_Name": "test",
	"f_DbId": "saas",
	"f_Sql": "select * from lr_base_user",
	"f_Description": "",
	"f_CreateUserId": "System",
	"f_CreateUserName": "超级管理员",
	"f_CreateDate": "2022-04-14T14:34:17",
	"f_ModifyUserId": "System",
	"f_ModifyUserName": "超级管理员",
	"f_ModifyDate": "2022-07-01T15:02:23"
  },
  {
	"f_Id": "9291a970-9e2b-45df-afa1-515eabf92261",
	"f_Code": "bardata",
	"f_Name": "柱状图数据",
	"f_DbId": "saas",
	"f_Sql": "SELECT o.F_CreateDate  AS name, SUM(1) AS value,100 as value1,1000 as value2 FROM LR_Base_User o where  o.F_CreateDate < '2015-11-03 15:16:39'  GROUP BY o.F_CreateDate ORDER BY o.F_CreateDate",
	"f_Description": "",
	"f_CreateUserId": "System",
	"f_CreateUserName": "超级管理员",
	"f_CreateDate": "2021-09-14T10:58:44",
	"f_ModifyUserId": "System",
	"f_ModifyUserName": "超级管理员",
	"f_ModifyDate": "2022-07-01T15:01:43"
  },
  {
	"f_Id": "9adbb9df-5b3e-4a1a-b591-7b87258df4a1",
	"f_Code": "formHistory",
	"f_Name": "表单记录",
	"f_DbId": "saas",
	"f_Sql": "select * from lr_form_datahistory where TablePKeyValue = @param",
	"f_Description": "",
	"f_CreateUserId": "System",
	"f_CreateUserName": "超级管理员",
	"f_CreateDate": "2021-09-08T21:58:15",
	"f_ModifyUserId": "System",
	"f_ModifyUserName": "超级管理员",
	"f_ModifyDate": "2022-07-01T15:02:31"
  },
  {
	"f_Id": "c905f486-1e44-473e-a2e4-6085384e01c4",
	"f_Code": "test001",
	"f_Name": "测试",
	"f_DbId": "saas",
	"f_Sql": "SELECT * FROM LR_Base_DataItem WHERE F_DeleteMark = 0 AND F_EnabledMark = 1 AND\nF_ItemCode like 'Prod%'",
	"f_Description": null,
	"f_CreateUserId": "tobin",
	"f_CreateUserName": "tobin",
	"f_CreateDate": "2020-06-14T21:02:22",
	"f_ModifyUserId": "System",
	"f_ModifyUserName": "超级管理员",
	"f_ModifyDate": "2022-07-01T15:02:37"
  },
  {
	"f_Id": "f3097938-5c54-4c64-9410-c31ccada13ba",
	"f_Code": "crmCustomer",
	"f_Name": "客户数据",
	"f_DbId": "saas",
	"f_Sql": "select * from LR_CRM_Customer",
	"f_Description": "",
	"f_CreateUserId": "System",
	"f_CreateUserName": "超级管理员",
	"f_CreateDate": "2021-03-28T20:54:09",
	"f_ModifyUserId": "System",
	"f_ModifyUserName": "超级管理员",
	"f_ModifyDate": "2022-07-01T15:02:42"
  }
]


var myColNameList=[
  "f_itemid",
  "f_parentid",
  "f_itemcode",
  "f_itemname",
]


var options= [
  {
	"f_itemid": "15322f80-d492-4de9-a37a-6fb668948f5b",
	"f_parentid": "98189a93-a2e1-4936-ade7-87ae1282a11a",
	"f_itemcode": "ProductType",
	"f_itemname": "产品类型",
	"f_istree": 0,
	"f_isnav": null,
	"f_sortcode": 13,
	"f_deletemark": 0,
	"f_enabledmark": 1,
	"f_description": null,
	"f_createdate": "2018-06-28 16:04:11",
	"f_createuserid": "System",
	"f_createusername": "超级管理员",
	"f_modifydate": null,
	"f_modifyuserid": null,
	"f_modifyusername": null
  },
  {
	"f_itemid": "e0101e2c-1e69-44b6-8c8d-824d66b27a01",
	"f_parentid": "98189a93-a2e1-4936-ade7-87ae1282a11a",
	"f_itemcode": "Products",
	"f_itemname": "相关产品",
	"f_istree": 0,
	"f_isnav": null,
	"f_sortcode": 32,
	"f_deletemark": 0,
	"f_enabledmark": 1,
	"f_description": null,
	"f_createdate": "2018-06-28 16:25:03",
	"f_createuserid": "System",
	"f_createusername": "超级管理员",
	"f_modifydate": null,
	"f_modifyuserid": null,
	"f_modifyusername": null
  }
]


var apiClassList=[
  {
    "f_Name": "c3",
    "f_ParentId": null,
    "f_SortCode": 0,
    "f_Description": "c3",
    "f_EnabledMark": 1,
    "f_CreateDate": "2022-07-12T20:55:45",
    "f_ModifyDate": null,
    "f_CreateUserId": "System",
    "f_CreateUserName": "System",
    "f_ModifyUserId": null,
    "f_ModifyUserName": null,
    "f_DeleteMark": 0,
    "f_TenantId": "e3b77d5ff38311ec98f50242c0a8b002",
    "f_Id": "424bb69fc28e4bf9b9fca65a60c7397a",
    "label": "c3",
    "value": "424bb69fc28e4bf9b9fca65a60c7397a"
  },
  {
    "f_Name": "c1-2",
    "f_ParentId": "c820508172f7484496679429a502f266",
    "f_SortCode": 0,
    "f_Description": "",
    "f_EnabledMark": 1,
    "f_CreateDate": "2022-07-12T20:32:51",
    "f_ModifyDate": null,
    "f_CreateUserId": "System",
    "f_CreateUserName": "System",
    "f_ModifyUserId": null,
    "f_ModifyUserName": null,
    "f_DeleteMark": 0,
    "f_TenantId": "e3b77d5ff38311ec98f50242c0a8b002",
    "f_Id": "62bb3b1ddeaf4f409727cbb1fbf63035",
    "label": "c1-2",
    "value": "62bb3b1ddeaf4f409727cbb1fbf63035"
  },
  {
    "f_Name": "c1-1",
    "f_ParentId": "c820508172f7484496679429a502f266",
    "f_SortCode": 0,
    "f_Description": "",
    "f_EnabledMark": 1,
    "f_CreateDate": "2022-07-12T20:27:01",
    "f_ModifyDate": null,
    "f_CreateUserId": "System",
    "f_CreateUserName": "System",
    "f_ModifyUserId": null,
    "f_ModifyUserName": null,
    "f_DeleteMark": 0,
    "f_TenantId": "e3b77d5ff38311ec98f50242c0a8b002",
    "f_Id": "703f996615e04e88bf07a35dc08523cb",
    "label": "c1-1",
    "value": "703f996615e04e88bf07a35dc08523cb"
  },
  {
    "f_Name": "c1",
    "f_ParentId": "",
    "f_SortCode": 0,
    "f_Description": "c1",
    "f_EnabledMark": 1,
    "f_CreateDate": "2022-07-12T19:41:32",
    "f_ModifyDate": null,
    "f_CreateUserId": "System",
    "f_CreateUserName": "System",
    "f_ModifyUserId": null,
    "f_ModifyUserName": null,
    "f_DeleteMark": 0,
    "f_TenantId": "e3b77d5ff38311ec98f50242c0a8b002",
    "f_Id": "c820508172f7484496679429a502f266",
    "label": "c1",
    "value": "c820508172f7484496679429a502f266"
  },
  {
    "f_Name": "测试接口1",
    "f_ParentId": null,
    "f_SortCode": 0,
    "f_Description": "",
    "f_EnabledMark": 1,
    "f_CreateDate": "2022-07-13T09:24:48",
    "f_ModifyDate": "2022-07-11T09:58:32",
    "f_CreateUserId": "System",
    "f_CreateUserName": "System",
    "f_ModifyUserId": "",
    "f_ModifyUserName": "",
    "f_DeleteMark": 0,
    "f_TenantId": "e3b77d5ff38311ec98f50242c0a8b002",
    "f_Id": "e7f83d5d010011ed98f50242c0a8b002",
    "label": "测试接口1",
    "value": "e7f83d5d010011ed98f50242c0a8b002"
  },
  {
    "f_Name": "c2",
    "f_ParentId": "",
    "f_SortCode": 0,
    "f_Description": "",
    "f_EnabledMark": 1,
    "f_CreateDate": "2022-07-12T20:26:52",
    "f_ModifyDate": null,
    "f_CreateUserId": "System",
    "f_CreateUserName": "System",
    "f_ModifyUserId": null,
    "f_ModifyUserName": null,
    "f_DeleteMark": 0,
    "f_TenantId": "e3b77d5ff38311ec98f50242c0a8b002",
    "f_Id": "ec40b1ed55524c949b52010493708d16",
    "label": "c2",
    "value": "ec40b1ed55524c949b52010493708d16"
  },
  {
    "f_Name": "c3-1-1",
    "f_ParentId": "424bb69fc28e4bf9b9fca65a60c7397a",
    "f_SortCode": 0,
    "f_Description": "c3-1-1",
    "f_EnabledMark": 1,
    "f_CreateDate": "2022-07-12T20:56:02",
    "f_ModifyDate": "2022-07-12T20:56:34",
    "f_CreateUserId": "System",
    "f_CreateUserName": "System",
    "f_ModifyUserId": null,
    "f_ModifyUserName": null,
    "f_DeleteMark": 0,
    "f_TenantId": "e3b77d5ff38311ec98f50242c0a8b002",
    "f_Id": "ef163b26c323426abab25594b677631a",
    "label": "c3-1-1",
    "value": "ef163b26c323426abab25594b677631a"
  }
]


export default {
  
  dataSource(){
	var arr=[];
	dataSource.forEach(function(v){
		arr.push({
			value:v.f_Id,
			label:v.f_Name
		})
	})
	return arr;
  },
  
  myColNameList(){
	var arr=[];
	myColNameList.forEach(function(v){
		arr.push({
			value:v,
			label:v
		})
	})
    return arr;
  },
  
  options(){
    return options
  },
  
  apiClassList(){
	  return apiClassList;
  }
  
}